home *** CD-ROM | disk | FTP | other *** search
/ Old Testament Foundatiosn with Philip Yancey / Old Testament Foundatiosn with Philip Yancey - Disc 1.iso / pc / data / b026.dir / 00059.ls < prev    next >
Encoding:
Text File  |  1996-09-06  |  2.1 KB  |  91 lines

  1. on exitFrame
  2.   global gCurrentNumber, gTotalNumofPages, gQuestion
  3.   if rollOver(6) then
  4.     puppetSprite(6, 1)
  5.     set the castNum of sprite 6 to cast "b060.roll"
  6.     updateStage()
  7.   else
  8.     set the castNum of sprite 6 to cast "b060"
  9.     updateStage()
  10.   end if
  11.   if rollOver(7) then
  12.     puppetSprite(7, 1)
  13.     set the castNum of sprite 7 to cast "b061.roll"
  14.     updateStage()
  15.   else
  16.     set the castNum of sprite 7 to cast "b061"
  17.     updateStage()
  18.   end if
  19.   if rollOver(8) then
  20.     puppetSprite(8, 1)
  21.     set the castNum of sprite 8 to cast "b062.roll"
  22.     updateStage()
  23.   else
  24.     set the castNum of sprite 8 to cast "b062"
  25.     updateStage()
  26.   end if
  27.   if rollOver(5) then
  28.     puppetSprite(5, 1)
  29.     set the castNum of sprite 5 to cast "b059.roll"
  30.     updateStage()
  31.   else
  32.     set the castNum of sprite 5 to cast "b059"
  33.     updateStage()
  34.   end if
  35.   if gCurrentNumber < gTotalNumofPages then
  36.     if rollOver(13) then
  37.       puppetSprite(13, 1)
  38.       set the castNum of sprite 13 to cast "b015.roll"
  39.       updateStage()
  40.     else
  41.       set the castNum of sprite 13 to cast "b015"
  42.       updateStage()
  43.     end if
  44.   else
  45.     nothing()
  46.   end if
  47.   if gCurrentNumber > 1 then
  48.     if rollOver(14) then
  49.       puppetSprite(14, 1)
  50.       set the castNum of sprite 14 to cast "b017.roll"
  51.       updateStage()
  52.     else
  53.       set the castNum of sprite 14 to cast "b017"
  54.       updateStage()
  55.     end if
  56.   else
  57.     nothing()
  58.   end if
  59.   if rollOver(16) then
  60.     puppetSprite(18, 1)
  61.     if gQuestion then
  62.       set the castNum of sprite 18 to cast "b058n"
  63.       updateStage()
  64.     else
  65.       set the castNum of sprite 18 to cast "b057r"
  66.       updateStage()
  67.     end if
  68.   else
  69.     if rollOver(17) then
  70.       puppetSprite(18, 1)
  71.       if gQuestion then
  72.         set the castNum of sprite 18 to cast "b058r"
  73.         updateStage()
  74.       else
  75.         set the castNum of sprite 18 to cast "b057n"
  76.         updateStage()
  77.       end if
  78.     else
  79.       if gQuestion then
  80.         set the castNum of sprite 18 to cast "b058n"
  81.         updateStage()
  82.       else
  83.         set the castNum of sprite 18 to cast "b057n"
  84.         updateStage()
  85.       end if
  86.     end if
  87.   end if
  88.   mainMenuRollovers()
  89.   go(the frame)
  90. end
  91.